<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js" ></script>
<title>Insert title here</title>
</head>
<body style="font-size: 20px;">
	<div class="top" style="padding: 20px 30px 10px; font-size: 16px;">
		<a href="#">系统</a>/
		<a href="#">权限管理</a>/
		<span>管理员编辑</span>
	</div>
	<div class="bottom">
		<div class="span12" style="width: 96%;">
		<c:if test="${not empty user}"><form action="luser?action=revise" method="post"></c:if>
		<c:if test="${empty user}"><form action="luser?action=add" method="post"></c:if>
			<table class="table">
				<c:if test="${not empty user}">
					<tr>
						<td style="text-align: right; width: 200px;">用户ID：</td>
						<td><input id="text" type="text" name="u_id" value="${user.getU_id()}" readOnly="true" style="width: 100%;"></td>
					</tr>
				</c:if>
				<tr>
					<td style="text-align: right; width: 200px;">用户名：</td>
					<td><input id="text" type="text" name="u_name" value="${user.getU_name()}" style="width: 100%;"></td>
				</tr>
				<tr>
					<td style="text-align: right; width: 200px;">密码：</td>
					<td><input id="text" type="text" name="pwd" value="${user.getPwd()}" style="width: 100%;"></td>
				</tr>
				<tr>
					<td style="text-align: right; width: 200px;">确认密码：</td>
					<td><input id="text" type="text" style="width: 100%;"></td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: center;"><input type="submit" value="提交" style="width: 100px;"></td>
				</tr>
			</table>
		</form>
		</div>
	</div>
</body>
</html>